import 'package:dio/dio.dart';
import 'package:nyh_motorcade_app/utils/logger_utils.dart';

class ErrorInterceptor extends Interceptor {
  @override
  void onError(DioError err, ErrorInterceptorHandler handler) {
    LoggerUtils.logSimple("HttpError type:${err.type},message:${err.message}");
    super.onError(err, handler);
  }
}
